/*
package com.gancp.common.security;

import com.gancp.vo.UserSessionVo;
import lombok.Data;
import org.springframework.security.authentication.AbstractAuthenticationToken;
import org.springframework.security.core.GrantedAuthority;

import java.util.Collection;

*/
/**
 * Created by GCP on 2018/1/22.
 *//*

@Data
public class RestAuthenticationToken extends AbstractAuthenticationToken {


    */
/**
     * Creates a token with the supplied array of authorities.
     *
     * @param authorities the collection of <tt>GrantedAuthority</tt>s for the principal
     * represented by this authentication object.
     *//*


    */
/*******
     * token 存放用户信息userelement
     *
     * *********//*

    private UserSessionVo userElement;

    public RestAuthenticationToken(Collection<? extends GrantedAuthority> authorities) {
        super( authorities );
    }

    @Override
    public Object getCredentials() {
        return null;
    }

    @Override
    public Object getPrincipal() {
        return null;
    }


}
*/
